CMPAE=0, CMPAIE=0, CMPBE=0, CMPBIE=0, CMPAB=00, WCMPE=0
A/D Compare Function Control Register
CMPAB | Window A/B Composite Conditions Setting 0 (00): Output ADC12i_WCMPM (i = 0, 1) when window A OR window B comparison conditions are met. Otherwise, output ADC12i_WCMPUM (i = 0, 1). 1 (01): Output ADC12i_WCMPM (i = 0, 1) when window A EXOR window B comparison conditions are met. Otherwise, output ADC12i_WCMPUM (i = 0, 1). 2 (10): Output ADC12i_WCMPM (i = 0, 1) when window A AND window B comparison conditions are met. Otherwise, output ADC12i_WCMPUM (i = 0, 1). 3 (11): Setting prohibited. |
CMPBE | Compare Window B Operation Enable 0 (0): Disable compare window B operation. Disable ADC12i_WCMPM (i = 0, 1) and ADC12i_WCMPUM (i = 0, 1) outputs. 1 (1): Enable compare window B operation. |
CMPAE | Compare Window A Operation Enable 0 (0): Disable compare window A operation. Disable ADC12i_WCMPM (i = 0, 1) and ADC12i_WCMPUM (i = 0, 1) outputs. 1 (1): Enable compare window A operation. |
CMPBIE | Compare B Interrupt Enable 0 (0): Disable ADC12i_CMPBI (i = 0, 1) interrupt when comparison conditions (window B) are met. 1 (1): Enable ADC12i_CMPBI (i = 0, 1) interrupt when comparison conditions (window B) are met. |
WCMPE | Window Function Setting 0 (0): Disable window function Window A and window B operate as a comparator to compare the single value on the lower side with the A/D conversion result. 1 (1): Enable window function Window A and window B operate as a comparator to compare the two values on the upper and lower sides with the A/D conversion result. |
CMPAIE | Compare A Interrupt Enable 0 (0): Disable ADC12i_CMPAI (i = 0, 1) interrupt when comparison conditions (window A) are met. 1 (1): Enable ADC12i_CMPAI (i = 0, 1) interrupt when comparison conditions (window A) are met. |